package com.example.dtcloudalibabaconsumer.Service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "dt-cloudalibaba-producer",path = "/dt-cloudalibaba-producer")
public interface OpenFeignConsumerService {

    /**
     * @Author 辛之所想
     * @Date  2025/11/14
     * @Param
     * @Description openFeign远程调用测试
     **/
    @RequestMapping(value = "openFeignProducerController/openFeignProducer")
    public String openFeignProducer();

    /**
     * @Author 辛之所想
     * @Date  2025/11/14
     * @Param
     * @Description nacos配置中心测试
     **/
    @GetMapping(value = "openFeignProducerController/nacosConfig")
    public String nacosConfig();
}
